package BUS;

import java.io.Serializable;

public class CommandFromClient implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public enum COMMAND_ID{
		INSERT,
		UPDATE,
		DELETE,
		SELECT,
		CREATE,
		SQL_STRING,
		EXIT
	}
	
	private COMMAND_ID _ID;
	private String _content;
	
	public CommandFromClient(COMMAND_ID ID, String Content){
		set_ID(ID);
		set_content(Content);
	}

	public void set_ID(COMMAND_ID _ID) {
		this._ID = _ID;
	}

	public COMMAND_ID get_ID() {
		return _ID;
	}

	public void set_content(String _content) {
		this._content = _content;
	}

	public String get_content() {
		return _content;
	}
}
